package modellayer;

public class Supplier {

	private int id;
	private String name;
	private String address;
	private int phone;
	private int cvrNr;
	
	private City city;
	

	public Supplier() {
		
	}
	
	public Supplier(int id){
		this.id = id;
	}
	
	public Supplier(String name, String address, int phone, int cvrNr, City city){
		this.name = name;
		this.address = address;
		this.phone = phone;
		this.cvrNr = cvrNr;
		this.city = city;
	}
	
	
	public Supplier(int id, String name, String address, int phone, int cvrNr, City city){
		this.id = id;
		this.name = name;
		this.address = address;
		this.phone = phone;
		this.cvrNr = cvrNr;
		this.city = city;
	}

	public void setID(int id){
		this.id = id;
	}
	
	public void setName(String name){
		this.name = name;
	}
	
	public void setAddress(String address){
		this.address = address;
	}
	
	public void setPhone(int phone){
		this.phone = phone;
	}
	
	public void setCvrNR(int cvrNr){
		this.cvrNr = cvrNr;
	}
	
	public void setCity(City city){
		this.city = city;
	}
	
	public int getID(){
		return id;
	}
	
	public String getName(){
		return name;
	}
	
	public String getAddress(){
		return address;
	}
	
	public int getPhone(){
		return phone;
	}
	
	public int getCvrNR(){
		return cvrNr;
	}
	
	public City getCity(){
		return city;
	}
}
